<%@page import="org.lxy.domain.UserInfoEntity"%>
<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>" />
<title>Edit</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="Stylesheet" href="css/Form.css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<style type="text/css">
* {
	margin: 0 px;
	padding: 0 px;
	font-weight: bold;
}

.td_right {
	text-align: right;
}
</style>
</head>
<body>
	<form id="form1" action="/userinfo/edit" method="post">
		<div>
			<%
				UserInfoEntity entity = (UserInfoEntity) request.getAttribute("entitys");
			%>
			<table
				style="text-align: center; vertical-align: middle; line-height: 50px; margin-left: 20px; margin-top: 20px;">
				<input type="hidden" id="id" name="id" value="<%=entity.getId() == null ? 0: entity.getId()%>" />
				<input type="hidden" id="jifen" name="jifen" value="<%=entity.getPoints() == null ? 0 : entity.getPoints()%>" />
				<tr>
					<td class="td_right">用户名：</td>
					<td><input type="text" id="username" name="username"
						class="search_txt"
						value="<%=entity.getUsername() == null ? "" : entity.getUsername()%>" />
					</td>
				</tr>
				<tr>
					<td class="td_right">密码：</td>
					<td><input type="text" id="password" name="password"
						class="search_txt"
						value="<%=entity.getPassword() == null ? "" : entity.getPassword()%>" />
					</td>
				</tr>
				<tr>
					<td class="td_right">电话：</td>
					<td><input type="text" id="telephone" name="telephone"
						class="search_txt"
						value="<%=entity.getTelephone() == null ? "" : entity.getTelephone()%>" />
					</td>
				</tr>
				<tr>
					<td colspan="2"><input type="submit" id="btnOK" value="保存"
						class="btn_css submitbg" /> <input type="button" id="btnCZ"
						value="关闭" onclick="window.parent.closedialog();"
						class="btn_css reserbg" style="margin-left: 20px;" /></td>
				</tr>
			</table>
		</div>
	</form>
</body>
</html>
